package com.imooc.o2o.service;/**
 * @package: com.imooc.o2o.service
 * @data: 2018/8/22
 * @author: 70918
 */

import com.imooc.o2o.dto.ShopExecution;
import com.imooc.o2o.entity.Shop;
import com.imooc.o2o.exceptions.ShopOperationException;
import sun.security.provider.SHA;

import java.io.InputStream;

/**
 * @author ：zglx
 * Date       ：Created in 23:59 2018/8/22
 * Description：TODO
 * version:     V1.0
 */
public interface ShopService {
    Shop getByShopId(long shopId);

    ShopExecution modifyShop(Shop shop, InputStream shopImgInputStream, String fileName) throws ShopOperationException;

    ShopExecution addShop(Shop shop, InputStream shopImgInputStream,String fileName) throws ShopOperationException;
}
